package com.paziy.notes.core.notations;

import com.paziy.notes.core.sounds.Sound;

import java.util.Collection;
import java.util.LinkedList;

/**
 * Represents bar of notation.
 * @param <S> the type of sounds the bar holds
 *
 * @author thecederick@gmail.com (Paziy Evgeniy)
 * @version 0.3
 * @since 0.1 (04.12.13 15:32)
 */
public class Bar<S extends Sound> extends LinkedList<Pitch<S>> {

    private KeySignature keySignature; //нужно но пока не делать!!!

    public Bar() {}

    public Bar(Collection<Pitch<S>> pitches) {
        addAll(pitches);
    }

}